package cn.jksoft.businessclient.bean;

import java.util.List;

/**
 * Author:  nick
 * Email:   nickdevp@gmail.com
 * Date:    16/5/27 15:05.
 * Description:
 */
public class OperatePersonEntity {


    /**
     * result : 验证成功!
     * is_successful : 1
     * currentPage : 1
     * pageSize : 5
     * currentSize : 1
     * personnelList : [{"cpId":"","storeId":"","cpType":"","cpName":"","tenantId":""}]
     */

    private String result;
    private String is_successful;
    private int currentPage;
    private int pageSize;
    private int currentSize;
    /**
     * cpId :
     * storeId :
     * cpType :
     * cpName :
     * tenantId :
     */

    private List<PersonnelListEntity> personnelList;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getIs_successful() {
        return is_successful;
    }

    public void setIs_successful(String is_successful) {
        this.is_successful = is_successful;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getCurrentSize() {
        return currentSize;
    }

    public void setCurrentSize(int currentSize) {
        this.currentSize = currentSize;
    }

    public List<PersonnelListEntity> getPersonnelList() {
        return personnelList;
    }

    public void setPersonnelList(List<PersonnelListEntity> personnelList) {
        this.personnelList = personnelList;
    }

    public static class PersonnelListEntity {
        private String cpId;
        private String storeId;
        private String cpType;
        private String cpName;
        private String tenantId;
        private boolean isSelect;

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }

        public String getCpId() {
            return cpId;
        }

        public void setCpId(String cpId) {
            this.cpId = cpId;
        }

        public String getStoreId() {
            return storeId;
        }

        public void setStoreId(String storeId) {
            this.storeId = storeId;
        }

        public String getCpType() {
            return cpType;
        }

        public void setCpType(String cpType) {
            this.cpType = cpType;
        }

        public String getCpName() {
            return cpName;
        }

        public void setCpName(String cpName) {
            this.cpName = cpName;
        }

        public String getTenantId() {
            return tenantId;
        }

        public void setTenantId(String tenantId) {
            this.tenantId = tenantId;
        }
    }
}
